<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@include file="/WEB-INF/views/include/head.jsp" %> 
<html>
<head>
<meta name="decorator"  content="moduleList" />
<script type="text/javascript" src="${staticPath}/lib/jquery/1.10.2/jquery.js"></script>
<script type="text/javascript"> 
	function funform(url,target){
		window.open(url,target);
	}
	 
</script>
 
</head>
<body> 
	  	<tags:message content="${message}"/>
		<table class="table table-striped table-hover o-l-table" id="table1">
		<thead>
		</thead> 
			<thead>
				<tr>
					<th>主题</th>
					<th>创建人</th>
					<th>创建时间</th> 
					<th>流程实例ID</th>
					<th>查看</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${list}" var="processInstance">
					<tr>
						<td>${processInstance.subject}</td>
						<td>${processInstance.createBy}</td>
						<td><fmt:formatDate value="${processInstance.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td> 
						<td>${processInstance.instanceId}</td>
						<td>
							<a href="${contextPath}/bpm/bpmsap/processView/${processInstance.instanceId}">查看</a>   
						</td>
					</tr>
				</c:forEach>
				</tbody>
			</table>
		  	<div class="o-l-page">
				<div class="col-sm-6">
					<ul class="pagination">
						<li class="disabled"><a href="javascript:">&#171; 上一页</a></li>
						<li class="disabled"><a href="#">1</a></li>
						<li class="disabled"><a href="#">下一页 &#187;</a></li>
					</ul>
				</div>
				<div class="col-sm-6">
					<span class="pull-right">
						到第<input class="form-control input-sm input-goto" type="text">页
						<button class="btn btn-sm btn-primary" role="button">go</button>
					</span>
				</div>
			</div>		 
</body>
</html>